package vip.xiaonuo.megvii.captures.model.base.define;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class AlertRule {

    private String desc;

    private String clazzName;

    private String fieldName;

    private String value;

    public AlertRule(String desc) {
        this.desc = desc;
    }

    public AlertRule(String desc, String clazzName, String fieldName, String value) {
        this.desc = desc;
        this.clazzName = clazzName;
        this.fieldName = fieldName;
        this.value = value;
    }
}
